package com.dale.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dale.entity.LikeBLog;
import com.dale.mapper.LikeBlogMapper;
import com.dale.service.LikeBlogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author  ：MarkerHub
 * @since 2020-05-25
 */
@Service
public class LikeBlogServiceImpl extends ServiceImpl<LikeBlogMapper,LikeBLog> implements LikeBlogService{

    @Autowired
    LikeBlogMapper likeBlogMapper;

    @Override
    public void likeBlog(Long bid, Long uid) {
        //先维护表
        likeBlogMapper.likeBlog(bid, uid);


    }
}
